Skip to content

Comments

[SCC-4425] Trim whitespace on call number search#438

Merged
yossariano merged 2 commits intomainfrom
SCC-4425-trim-call-numbers
Jan 22, 2025
Merged

[SCC-4425] Trim whitespace on call number search#438
yossariano merged 2 commits intomainfrom
SCC-4425-trim-call-numbers

Conversation

@yossariano
Copy link
Contributor

Keeping things light for my first PR- let me know if there's some part of the process that I'm missing or doing incorrectly!

Ticket

https://newyorkpubliclibrary.atlassian.net/browse/SCC-4425

Testing

Tested in my local server. Before, querying by call number with a leading space (i.e. like so) would return 0 results. After adding this trim() any leading / trailing whitespace is ignored and we get results.

@yossariano yossariano merged commit f7ea03e into main Jan 22, 2025
4 checks passed
@yossariano yossariano deleted the SCC-4425-trim-call-numbers branch January 22, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants